import request from "../config/axios";
//列表数据
export const informaTion =(data)=>request(
    {
        url:`http://localhost:8080/jeecg-boot/sys/annountCement/list?_t=1665976736&column=createTime&order=desc&field=id,,,titile,msgCategory,sender,priority,msgType,sendStatus,sendTime,cancelTime,action&pageNo=1&pageSize=10&titile=${data.titile}`,
        method:"GET",
    }
)
// 新增接口
export const addition = (data)=>request(
    {
        url:`http://localhost:8080/jeecg-boot/sys/annountCement/add`,
        method:"POST",
        data
    }
)
// 新增列表数据接口
export const add = (data)=>request(
    {
        url:`http://localhost:8080/jeecg-boot/sys/user/list?_t=1666249115&column=createTime&order=desc&field=id,,username,realname,sex,phone,email,status&pageNo=1&pageSize=5&username=${data.username}&sex=${data.sex}&phone=${data.phone}&status=${data.status}&email=${data.email}`,
        method:"GET",
        data
    }
)
export const Editor=(data)=>request(
    {
        url:`http://localhost:8080/jeecg-boot/sys/annountCement/edit`,
        method:"PUT",
        data
    }
)